﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;

namespace DataModel
{
    /// <summary>
    /// 考卷
    /// </summary>
    /// <remarks>考卷</remarks>
    public class examincations
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int id { get; set; }

        /// <summary>
        /// 考试时间
        /// </summary>
        /// <remarks>题目</remarks>
        public DateTime testtime { get; set; }

        /// <summary>
        /// 制作人
        /// </summary>
        public string auther { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int state { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 说明
        /// </summary>
        public string explain { get; set; }

        /// <summary>
        /// 试卷名称
        /// </summary>
        public string title { get; set; }
        public virtual ICollection<Subjects> Subjectses { set; get; }
    }
}